Blockly.Blocks['start'] = {
  init: function() {
    this.appendDummyInput()
        .appendField("当运行时");
    this.setPreviousStatement(false, null);
    this.setNextStatement(true, null);
    this.setColour(90);
 this.setTooltip("");
 this.setHelpUrl("");
 this.setMovable(false);
  }
};

Blockly.Blocks['speak'] = {
  init: function() {
    this.appendDummyInput()
        .appendField("说")
        .appendField(new Blockly.FieldImage("./res9/messageBox.png", 50, 50, "*"))
        .appendField("“")
        .appendField(new Blockly.FieldTextInput("在此处键入"), "input")
        .appendField("”");
    this.setPreviousStatement(true, null);
    this.setColour(230);
 this.setTooltip("");
 this.setHelpUrl("");
  }
};